package com.kindac.together.common;

import java.util.Map;
import java.util.Vector;

import android.app.Activity;
import android.graphics.Bitmap;

import com.kindac.together.R;

/**
 * @author Kindac
 * @time 2011-6-16 上午12:33:34
 */
public class Kin {

    // 屏幕大小 横屏原因
    public static int                  mWidth     = 480;
    public static int                  mHeight    = 320;
    public static int                  disPlay    = 0;

    public final static int            mini       = -1;
    public final static int            defalut    = 0;
    public final static int            large      = 1;

    // public static int
    // 当前页面
    public static int                  curPage    = 0;
    // 定义turePage页数
    public static int                  page       = 4;
    // turePage 随机加载的图片
    public static final int[]          arrDrawble = new int[] { R.drawable.cc0, R.drawable.cc1, R.drawable.cc2,
            R.drawable.cc3, R.drawable.cc4, R.drawable.cc5, R.drawable.cc6, R.drawable.cc7, R.drawable.cc8,
            R.drawable.cc9, R.drawable.cc10, R.drawable.cc11, R.drawable.cc12, R.drawable.cc13, R.drawable.cc14,
            R.drawable.cc15, R.drawable.cc16, R.drawable.cc17, R.drawable.cc18, R.drawable.cc19, R.drawable.cc20,
            R.drawable.cc21, R.drawable.cc22, R.drawable.cc23, R.drawable.cc24, R.drawable.cc25, R.drawable.cc26,
            R.drawable.cc27, R.drawable.cc28, R.drawable.cc29, R.drawable.cc30, R.drawable.cc31, R.drawable.cc32,
            R.drawable.cc33, R.drawable.cc34, R.drawable.cc35, R.drawable.cc36, R.drawable.cc37, R.drawable.cc38,
            R.drawable.cc39, R.drawable.cc40, R.drawable.cc41, R.drawable.cc42 };

    // 2段式
    public static Vector<String>       arrString1;
    public static Vector<String>       arrString2;

    // turePage 加载音乐
    public static final int[]          arrMusic   = new int[] { R.raw.mm0, R.raw.mm1, R.raw.mm2, R.raw.mm3, R.raw.mm4,
            R.raw.mm5, R.raw.mm6, R.raw.mm7, R.raw.mm8, R.raw.mm9 };

    // turePage 最后一张图片
    public static final int            last       = R.drawable.parallax_background_layer_back;

    // turePage 固定加载的en
    public static final int[]          lastString = new int[] { R.string.text_0, R.string.text_1, R.string.text_2,
            R.string.text_3, R.string.text_4, R.string.text_5, R.string.text_6 };

    public static final String         PAUSE      = "pause";
    public static final String         MUSIC      = "music";

    public static final int[]          lolString  = new int[] { R.string.lol_0, R.string.lol_1, R.string.lol_2,
            R.string.lol_3                       };
    // 本地页面缓存
    public static Map<Integer, Bitmap> bitMapCache;

    // 当前activity
    public static Activity             curAct;

    // 是否写字
    public static boolean              isWrite    = true;
    // 是否声音
    public static boolean              isMusic    = true;
    // 闪屏计时
    public static final int            timer      = 2;
    // 彩蛋 我们生日都在27号,我不用想的数字,你应该也是吧
    public static final int            lol        = 27;

    public static final String         ADD        = "add";
    public static final String         MOD        = "modify";

    // db 让你存点新鲜的话进去
    public static final String         KinDB      = "Together.db";
    // db 让你存点新鲜的话进去
    public static final int            dBVer      = 1;
}
